const state = {
  defaultActive: '/welcome'
}
const getters = {
  getActive: state => {
    return state.defaultActive
  }
}
const actions = {}
const mutations = {
  setDefaultActive(state,active) {
    state.defaultActive = active
    console.log(state.defaultActive)
  }
}

export default {
  namespaced: true,
  state,
  getters,
  actions,
  mutations

}
